import request from "@/utils/request";

// 获取系统文章列表分类
export function getClassifyApi(query) {
  return request({
    url: "/system/classify/list",
    method: "get",
    params: query,
  });
}

// 根据分类编号获取详细信息
export function getClassifyByIdApi(postId) {
  return request({
    url: "/system/classify/" + postId,
    method: "get",
  });
}
